package com.ssy.lingxi.platform.manage.controller;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.model.response.OnlineServiceDetailRes;
import com.ssy.lingxi.platform.manage.service.IOnlineServiceService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @menu 在线客服相关接口
 * @author wyx
 * @version 2.0.0
 * @date 2021-11-16
 */
@RestController
@RequestMapping("/manage/online/service")
public class OnlineServiceController {
    @Resource
    private IOnlineServiceService onlineServiceService;


    /**
     * 获取在线客服配置信息
     * @return 操作结果
     */
    @RequestMapping(value = "/find/config", method = RequestMethod.GET)
    public Wrapper<OnlineServiceDetailRes> findConfig() {
        return onlineServiceService.findConfig();
    }
}
